package com.czy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BorrowRecord {
    private Long borrowId; // 借用记录唯一ID
    private Long assetId; // 关联的资产ID
    private Long userId; // 借用人ID
    private LocalDateTime borrowTime; // 借用时间
    private Integer quantity; // 借用数量(默认借用数量为1)
    private LocalDateTime expectedReturnTime; // 预期归还时间
    private LocalDateTime actualReturnTime; // 实际归还时间
    private Boolean isOverdue; // 是否逾期

}
